package com.example.forum.model;

import lombok.Data;

import java.util.Date;
@Data
public class ArticleReply {
    //编号
    private Long id;

    //关联帖子id
    private Long articleId;
    //回复人的用户id
    private Long postUserId;
    //支持楼中楼的 回复作者 作者的id
    private Long replyId;
    //支持楼中楼的
    private Long replyUserId;
    //回复正文
    private String content;
    //回复点赞
    private Integer likeCount;
    //状态 0 是正常 1是禁用
    private Byte state;
    //删除状态
    private Byte deleteState;
    //创建时间
    private Date createTime;
    //更新时间
    private Date updateTime;

    //拓展熟悉
    private User user;

    // 关联文章标题，非表字段
    private String articleTitle;
}